﻿//scripterdebug.js
//================

window.addEventListener("scripterlog_init", function (event) {
 
    chrome.runtime.sendMessage({ command: "init", commandValue: event.detail }, function (response) {
    });
}, false);

window.addEventListener("scripterlog_add", function (event) {
 
    chrome.runtime.sendMessage({ command: "add", commandValue: event.detail }, function (response) {
    });
}, false);

window.addEventListener("scripterlog_add_property", function (event) { 
    chrome.runtime.sendMessage({ command: "add_property", commandValue: event.detail }, function (response) {
    });
}, false);